package com.model;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class IdDB extends SQLiteOpenHelper {
	public IdDB(Context context){
		super(context, "ID.db",null,1);
	}
	public void onCreate(SQLiteDatabase db){
		db.execSQL("CREATE TABLE USER(ID TEXT PRIMARY KEY);");
	}
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVerstion) {
		db.execSQL("DROP TABLE IF EXISTS USER");
		onCreate(db);
	}
}
